package com.cyj.comment.service;

import com.cyj.comment.dto.LoginFormDTO;
import com.cyj.comment.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cyj.comment.utils.Result;

import javax.servlet.http.HttpSession;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chixiaowai
 * @since 2023-04-04
 */
public interface UserService extends IService<User> {

    Result sendCode(String phone, HttpSession session);

    Result login(LoginFormDTO loginFormDTO, HttpSession session);

    Result sign();
}
